package com.icart.comm;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * author : Cheng
 * created : 2017-09-28 14:57
 */
public class Select2RspResult implements Serializable {
	private static final long serialVersionUID = -337825648021639711L;
	private List<HashMap<String, Object>> data;
	private List<Select2Option> results;
	private Map<String, Object> pagination;

	public Select2RspResult() {
		this.data = new ArrayList<HashMap<String, Object>>();
		this.results = new ArrayList<Select2Option>();
		this.pagination = new HashMap<String, Object>();
		this.pagination.put("more", false);
	}

	public List<HashMap<String, Object>> getData() {
		return data;
	}

	public void setData(List<HashMap<String, Object>> data) {
		this.data = data;
	}

	public List<Select2Option> getResults() {
		return results;
	}

	public void setResults(List<Select2Option> results) {
		this.results = results;
	}

	public Map<String, Object> getPagination() {
		return pagination;
	}

	public void setPagination(Map<String, Object> pagination) {
		this.pagination = pagination;
	}
}
